package cn.itsource.xhy.basic.service;

import cn.itsource.xhy.basic.query.BaseQuery;
import cn.itsource.xhy.utils.QueryResult;

import java.util.List;

public interface IBaseService<T> {

    void save(T t);
    void update(T t);
    void del(Long id);
    T findById(Long id);
    List<T> findAll();
    QueryResult<T> queryPage(BaseQuery query);
    void patchDel(Long[] ids);
}
